package me.bincker.formwork.web.core.repository.impl

import me.bincker.formwork.web.core.repository.IBaseRepository
import org.springframework.data.jpa.repository.support.JpaEntityInformation
import org.springframework.data.jpa.repository.support.SimpleJpaRepository
import org.springframework.data.repository.NoRepositoryBean
import javax.persistence.EntityManager

@NoRepositoryBean
class BaseRepositoryImpl<T>(entityInformation: JpaEntityInformation<T, *>, protected val entityManager: EntityManager) : IBaseRepository<T>, SimpleJpaRepository<T, String>(entityInformation, entityManager)